package com.athengzhi.springCloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @Package: com.athengzhi.springCloud
 * @ClassName: Payment8001
 * @Author: lhz
 * @CreateTime: 2023/4/17 16:52
 * @Description:
 */
@SpringBootApplication
@EnableEurekaClient
@EnableDiscoveryClient  //暴露服务信息，通过该注解可以使用DiscoveryClient获取注册进入eureka的服务信息
public class PaymentMain8001 {
    public static void main(String[] args) {
        SpringApplication.run(PaymentMain8001.class,args);
    }
}
